home *** CD-ROM | disk | FTP | other *** search
/ Champak 106 / Vol 106.iso / games / hulk.swf / scripts / BottomNav.as < prev    next >
Encoding:
Text File  |  2010-04-12  |  880 b   |  43 lines

  1. package
  2. {
  3.    import marvel.centralsmashdown.views.BottomNav;
  4.    
  5.    [Embed(source="/_assets/assets.swf", symbol="BottomNav")]
  6.    public dynamic class BottomNav extends marvel.centralsmashdown.views.BottomNav
  7.    {
  8.        
  9.       
  10.       public function BottomNav()
  11.       {
  12.          super();
  13.          addFrameScript(0,frame1,23,frame24,51,frame52,74,frame75);
  14.       }
  15.       
  16.       internal function frame75() : *
  17.       {
  18.          gotoAndPlay("screens");
  19.       }
  20.       
  21.       internal function frame1() : *
  22.       {
  23.          stop();
  24.       }
  25.       
  26.       internal function frame24() : *
  27.       {
  28.          if(_menu == "screens")
  29.          {
  30.             gotoAndStop("screens");
  31.          }
  32.       }
  33.       
  34.       internal function frame52() : *
  35.       {
  36.          if(_menu == "game")
  37.          {
  38.             gotoAndStop("game");
  39.          }
  40.       }
  41.    }
  42. }
  43.